#define _CRT_SECURE_NO_WARNINGS 1
#include "RBTree.h"

void test_RBTree1()
{
	RBTree<int, int> t;
	//int arr[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	int arr[] = { 4, 2, 6, 1, 3, 5, 15, 7, 16, 14 };
	for (const auto& e : arr)
	{
		t.Insert({e, e});
	}
	t.Inorder();
}

int main()
{
	test_RBTree1();

	return 0;
}